package com.ygq.springboot.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.ygq.springboot.entity.Person;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author jobob
 * @since 2021-05-27
 */
public interface IPersonService extends IService<Person> {
    //查询全部
    IPage<Person> findAll(String name, Integer sex, IPage<Person> page);
}
